<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>SISTEM INFORMASI AKUTANSI</title>
<style type="text/css">
#login{width:385px;height:224px;background: url(<?php echo base_url()."assets/images/";?>main_bg.png) no-repeat;text-align:center;margin:0px auto;}
#tbl{width:300px;text-align:center;margin:0px auto;margin-top:70px;}
#tbl td{font-family:verdana;font-size:12px;}
#tbl td input{text-align:left;font-family:verdana;font-size:12px;padding:3px;border:1px solid #99bbe8;}
#tbl td input[type="image"]{border:none;}
.br{padding-top:180px;}
</style>
</head>

<?php if(file_exists("./uploads/".$background) && $background!==""){?>
<body background="./uploads/background.jpg">
<?php }else {?>
<body background="./assets/wallpapers/desktop.jpg">
<?php } ?>
<div id="content"><p class="br">&nbsp;</p>
	<div id="login">
    	
		<form method="post" action="?c=c_login&m=verify">
			<table id="tbl">
				<tr><td >&nbsp;</td><td width="200"><?php if(@$_SESSION["msg"]!=="") { echo "<font color='RED'><b>".@$_SESSION["msg"]."</b></font><br/>"; @$_SESSION["msg"]=""; }?></td></tr>
				<tr><td >&nbsp;</td><td></td></tr>
				<tr><td align="left">Username:</td><td align="right"><input type="text" name="username" size="25" value="<?php echo @$_SESSION["user_post"]; ?>" /></td></tr>
				<tr><td align="left">Password:</td><td align="right"><input type="password" name="password" size="25" /></td></tr>
				<tr><td></td><td align="right"><input type="image" src="<?php echo base_url()."assets/images/";?>login.gif" name="login" /> <input type="image" src="<?php echo base_url()."assets/images/";?>reset.gif" name="reset" /></td></tr>
			</table>
		</form>
	</div>
</div>
</body>
</html>
